package service

import (
	"gitee.com/shuwenhe/shuwen/encoding/json/encode.go/Marshal2/dao"
	"gitee.com/shuwenhe/shuwen/encoding/json/encode.go/Marshal2/model"
)

func GetActors() ([]*model.Actor, error) {
	actors, err := dao.GetActors()
	if err != nil {
		return nil, err
	}
	return actors, nil
}
